Deprecate XendDomainInfo.state - now use _stateGet() to get the live
authorTom Wilkie <tom.wilkie@gmail.com>
Fri, 20 Apr 2007 16:56:28 +0000 (17:56 +0100)
committerTom Wilkie <tom.wilkie@gmail.com>
Fri, 20 Apr 2007 16:56:28 +0000 (17:56 +0100)
commitedec108b0652be7ad77e2296a996bcabe2bb0cc4
tree8f329ec3873c08019b418daaa0bc1869f84b8f5e
parentd1672c6b393b45d4b9f59db8be986c59645f8669
Deprecate XendDomainInfo.state - now use _stateGet() to get the live
state of a domain.  Should still call _stateSet() to notify others
when you expect the state has changed.

Also some changes to locking in save/suspend, restore/resume and migrate

Passes xm-test against XenAPI...

signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
tools/python/xen/xend/XendCheckpoint.py
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py